﻿using CleanArchitecture.Core.Interfaces;
using CleanArchitecture.Infrastructure.Entities.Business;

namespace CleanArchitecture.Infrastructure.Interfaces.Business
{
    public interface IAdvertiseService
    {
        /// <summary>
        /// Gets all AdvertiseBanner Items by page 
        /// </summary>
        /// <param name="pageIndex">Page index</param>
        /// <param name="pageSize">Page size</param>
        /// <returns>News items</returns>
        IViewPagedList<Advertise> GetAdvertiseBannerItemsByPage(int pageIndex = 0, int pageSize = int.MaxValue);

        Advertise GetAdvertiseEntityById(int entityId);

        void InsertAdvertise(Advertise entity);

        void UpdateAdvertise(Advertise entity);

        void DeleteAdvertise(Advertise entity);
    }
}
